
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Caja</title>
        <link href="http://netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css" rel="stylesheet">
        <style>
            #salida {
                background-color: #ccc;
            }

            #salida table tbody tr input {
                background: transparent;
                border: 1px solid transparent;
            }

            #salida table tbody tr input:hover {
                border: 1px solid black;
            }

            #salida table tbody tr input:focus {
                background: white;
            }
        </style>

    </head>
    <body>

        <%@include file="../opciones.jsp"%></br>
        <br>
        <form METHOD = "POST" ACTION = "<c:url value="/EliminarCaja"/>">
            <INPUT TYPE = "hidden" NAME = "RUT_USUARIO" value="${registro.codUsuario}" required />
            <INPUT TYPE = "hidden" NAME = "FECHA_APERTURA" value="${registro.fechaApertura}" required />
            <input type="submit" value="Anular"> &nbsp;&nbsp;&nbsp;<a href="<c:url value="/CajasPorUsuario"/>">Volver</a><br/>
        </FORM>   
        <div class="form-horizontal">
            <div class="form-group">
                <label class="col-md-2 control-label">Nombre Usuario</label>
                <div class="col-md-10">
                    <p class="form-control-static">${registro.nombreUsuario}</p>
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-2 control-label">Rut Usuario</label>
                <div class="col-md-10">
                    <p class="form-control-static">${registro.codUsuario}</p>
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-2 control-label">Fecha Apertura</label>
                <div class="col-md-10">
                    <p class="form-control-static">${registro.fechaApertura}</p>
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-2 control-label">Fecha Cierre</label>
                <div class="col-md-10">
                    <p class="form-control-static">${registro.fechaCierre}</p>
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-2 control-label">Monto  Inicial</label>
                <div class="col-md-10">
                    <p class="form-control-static">${registro.montoInicial}</p>
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-2 control-label">Monto  Final</label>
                <div class="col-md-10">
                    <p class="form-control-static">${registro.montoFinal}</p>
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-2 control-label">Monto  Final Gastos</label>
                <div class="col-md-10">
                    <p class="form-control-static">${registro.montoFinalGastos}</p>
                </div>
            </div>
        </div>   
    </body>

</html>